package STUDENT.TRINHQUANGXUANDUC.OPPS.INHERISTANCE.BAI3;

public class Models {
	public void GetInfoConcho(Concho obj) {
		System.out.println("Ten doi tuong: " + obj.getTenDoituong());
		System.out.println("Cac thuoc tinh cua doi tuong con cho");
		System.out.println("So mat: " + obj.getSoMat());
		System.out.println("So chan: " + obj.getSoChan());
		System.out.println("Cac phuong thuc cua doi tuong con cho");
		System.out.println(obj.getCoduoi());
		System.out.println(obj.getBietquayduoi());
		System.out.println(obj.getBietsua());

	}

	public void GetInfoConNguoi(Connguoi obj) {
		System.out.println("Ten doi tuong: " + obj.getTenDoituong());
		System.out.println("Cac thuoc tinh cua doi tuong con nguoi");
		System.out.println("So mat: " + obj.getSoMat());
		System.out.println("So tay: " + obj.getSoTay());
		System.out.println("So chan: " + obj.getSoChan());
		System.out.println("Cac phuong thuc doi tuong con nguoi");
		System.out.println(obj.getBietkhieuvu());
		System.out.println(obj.getBietnoi());

	}
}
